//
//  OneChatVipSetManager.h
//  chatModule
//
//  Created by sy on 2025/5/22.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <MJExtension/MJExtension.h>

#import "OneChatUpdateUserConfigService.h"
#import "OneChatVipActivationService.h"

#import "OneChatSetModel.h"
#import "OneChatVipPriceModel.h"

NS_ASSUME_NONNULL_BEGIN
typedef void (^chatFailureError)(NSError *error);

@interface OneChatVipSetManager : NSObject
///获取会员聊天设置
+ (void)getChatUserConfig:(void(^)(OneChatSetModel*chatSetModel))successBlock withError:(nullable chatFailureError)failure;

///更新会员聊天设置
+ (void)updateChatUserConfig:(nonnull NSDictionary*)params withResult:(void(^)(BOOL result))successBlock withError:(nullable chatFailureError)failure;

///聊天设置会员
+ (void)getChatPriceList:(void(^)(NSArray<OneChatVipPriceModel*>*priceList))successBlock withError:(nullable chatFailureError)failure;
///聊天会员创建订单
+ (void)updateConfigOrder:(nonnull NSString*)price_id withResult:(void(^)(NSArray*priceList))successBlock withError:(nullable chatFailureError)failure;



@end

NS_ASSUME_NONNULL_END
